<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="m" uri="/WEB-INF/tld/msp.tld"%>
<html>
<head>
	<title>Admin</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.9.1.min.js"></script>
	<script src="<%=request.getContextPath()%>/js/pagination.js"></script>
	<link href="<%=request.getContextPath()%>/css/cont.css" rel="stylesheet" type="text/css">
	<script language="javascript">
		$(document).ready(function() {
			$("#updatePass").click(function(){
				$("#submitForm").submit();
			});
		});
	</script>
</head>
<body class="right_body">
<form:form id="submitForm" action="login.do?method=updatePassword" method="post" commandName="loginForm">
<div style="width:99%;height:36px;margin-bottom: 5px;"  >
	<div class="headline_left" ><img src="<%=request.getContextPath()%>/img/2_11.gif" width="13" height="36" /></div>
	<div class="headline_middle">
		<div align="center" style="padding-top: 4px"><font size="4">修改密码</font></div>
	</div>
	<div class="headline_right"><img src="<%=request.getContextPath()%>/img/2_15.gif" width="13" height="36" /></div>
</div>
<div style="width:99%;">
<table class="formtable" width="100%" border="0" cellspacing="0" cellpadding="10" style="padding:0 0 20px 0;">
  <tr class="fromfield1" >
    <td width="25">姓名:</td>
    <td width="40">${loginUser.name }</td>
  </tr>
  <tr class="fromfield2" >
    <td width="25">登陆名<font color="red">*</font>:</td>
    <td width="40">${loginUser.login_id }</td>
  </tr>
  <tr class="fromfield1" >
    <td width="25">密码<font color="red">*</font>:</td>
    <td width="40"><form:password path="password" size="20"/><form:errors path="password" cssStyle="color:#ff0000;font-weight: bold;" /></td>
  </tr>
  <tr class="fromfield2" >
    <td width="25">确认密码<font color="red">*</font>:</td>
    <td width="40"><form:password path="confirmPassword" size="20"/><form:errors path="confirmPassword" cssStyle="color:#ff0000;font-weight: bold;" /></td>
  </tr>
  <tr class="formbutton">
    <td colspan="2"><input id="updatePass" type="button" value="修改" class="buttonStyle"/>
  </tr>
</table>
</div>
</form:form>
</body>
</html>
